package com.rd.student.jiaji.class3.sunguowei.day0802.Flower;

public class Flower {
    public String color;
    public  Double price;
    public Flower(){}
    public  Flower(String color,Double price){
        this.color=color;
        this.price=price;
    }

    public void showInfo(){
        System.out.println("花的颜色是"+color + ",价格是" + price);
    }
}
